<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<div title="选择违法地点" id="illegalLocationSelectDialog" class="dialogtitle">
	<div class="searchbox">
		<table cellspacing="0" cellpadding="0">
			<tr>
				<td>设备名称：</td>
				<td><input type="text" id="illegalLocationName"></td>
				<td>设备编号：</td>
				<td><input type="text" id="illegalLocationNum"></td>
				<td rowspan="2">
					<button style="float:right;" onclick="ajaxFindIllegalLocationSelectList()">查询</button>
					<button style="float:right;margin-left:10px;"onclick="clearInput('#illegalLocationSelectDialog.searchbox');">重置</button>
				</td>
			</tr>
		</table>
	</div>
	<table>
		<tr>
			<td valign="top">
				<div style="width:340px;height:160px;overflow:scroll;">
					<table id="leftIllegalLocationList" style="min-width:400px;" cellspacing="0" cellpadding="0">
						<tbody>
						</tbody>
					</table>
				</div>
			</td>
			<td style="width:80px;" align="center">
				<button style="width:60px;" onclick="moveFromObjToObj('leftIllegalLocationList','rightIllegalLocationList')">&gt;</button>
				<button style="width:60px;margin-top:10px;"  onclick="moveFromObjToObjAll('leftIllegalLocationList','rightIllegalLocationList')">&gt;&gt;</button>
				<button style="width:60px;margin-top:10px;"  onclick="moveFromObjToObjAll('rightIllegalLocationList','leftIllegalLocationList')">&lt;&lt;</button>
				<button style="width:60px;margin-top:10px;" onclick="moveFromObjToObj('rightIllegalLocationList','leftIllegalLocationList')">&lt;</button>
			</td>
			<td valign="top">
				<div style="width:340px;height:160px;overflow:scroll;">
					<table id="rightIllegalLocationList" style="min-width:800px;"cellspacing="0" cellpadding="0">
						<thead>
							<tr>
								<td>设备名称</td>
								<td>设备编号</td>
								<td>设备类型</td>
							</tr>
						</thead>
						<tbody>
						</tbody>
					</table>
				</div>
			</td>
		</tr>
	</table>
</div>
<script>
	$("#illegalLocationSelectDialog button").button();
	ajaxFindIllegalLocationSelectList();
</script>